package com.acoreful.acf2admin.commons.mq.consumer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import com.acoreful.acf2admin.commons.mq.RabbitMqConsumer;
import com.acoreful.acf2admin.commons.mq.data.SmsData;

@Component("smsConsumer")
public class SmsConsumer extends RabbitMqConsumer<SmsData> {
	private Logger logger=LoggerFactory.getLogger(SmsConsumer.class);
	@Override
	public void consume(SmsData message) throws Exception {
		logger.info(message.getContent());
	}

}